<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        /*计算公倍数*/
        let x = Number(prompt("第一个数"));
        let y = Number(prompt("第二个数"));
        let z = Number(prompt("第三个数"));

        if (z%x==z%y){
            console.log(true);
        }

    </script>
</head>
<body>

</body>
</html>